#基础语法
#变量:类型
#基础数据类型注解
var_1:int = 10
var_2:float = 3.1415926
var_3:bool =True
var_4:str="私大体何も知らなくて"

#类对象类型注解
class Student:
    pass
stu:Student=Student()
#基础容器类型注解
my_list:list=[1,23,4,5,5]
my_set:set= {1, 2,2,3,4,5,6,7,8}
my_tuple:tuple=(2,3,4,5,6,7,2,1)
my_dict:dict={"run":1,"file":2}
#容器类型详细注解
my_list2:list[int]=[1,2,3,4,5,"file"]#类型注解知识一个备注，并不会报错
print(my_list2)
my_tuple2:tuple[str,int,bool]=("run",1,True)
my_set2:set[int]={1,2,"run"}
my_dict2:dict[str,int]={"run":1,2:3}
my_dict5:dict[str:int,int:str]={"1":3,int(3):"file"}